classdef TestDotsDrawableDemos < dotsTestCase
    
    properties
        demoList = { ...
            @demoDrawableArcs, ...
            @demoDrawableDotKinetogram, ...
            @demoDrawableImages, ...
            @demoDrawableLines, ...
            @demoDrawableTargets, ...
            @demoDrawableText, ...
            @demoDrawableTextures, ...
            };
    end
    
    methods
        function self = TestDotsDrawableDemos(name)
            self = self@dotsTestCase(name);
        end
        
        function testInvokeDrawableDemos(self)
            delay = dotsTestCase.getGlobalValue('lookSee');
            nDemos = numel(self.demoList);
            for ii = 1:nDemos
                feval(self.demoList{ii}, delay);
            end
        end
    end
end